/*
 * Copyright (c) 2018. QDU 2015 Java1 Team CompilationError
 */

package team.mai.antexpress.spring.converters;

import org.springframework.core.convert.converter.Converter;

public class CheckBoxToBooleanConverter implements Converter<String, Boolean> {
	@Override
	public Boolean convert(String s) {
		return "on".equals(s)||"true".equals(s);
	}
}
